package com.softeem.service;

import com.softeem.entity.Customer;

import java.sql.SQLException;
import java.util.List;


public interface CustomerService {


    Integer login(String name, String id) throws SQLException;


    List<Customer> findAll() throws SQLException;


    Integer delete(String id) throws SQLException;

    Integer total() throws SQLException;


    List<Customer> findPages(String pageNo) throws SQLException;

    Customer findOne(String id) throws SQLException;

    Integer update(Customer cus) throws SQLException;
}
